@import "common.less";
@baseFont :50;
.clearfix:after {
    visibility: hidden;
    clear: both;
    display: block;
    content: ".";
    height: 0
  }
  
  .clearfix {
    *zoom: 1
  }
body {
    min-width: 320px;
    width: 15rem;
    margin: 0 auto;
    // line-height: 1.5;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f2f2f2;
}
//顶部   页面元素的 
.search-content {
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15rem;
    height: 88rem /@baseFont;// 在 字体大小为50的设计稿写的
    // 50px=1em 88px =   88rem / 50
    background-color: #ffc001;
    .classify {
        width: 44rem / 50;
        height: 70rem / 50;
        background: url(../images/classify.png) no-repeat;
        background-size: 44rem / @baseFont 70rem / @baseFont;
        margin: 11rem / @baseFont 25rem / @baseFont 7rem / @baseFont 24rem / @baseFont;
    }
    .search {
        flex: 1;
        
        input {
            display: block;
            outline: none;
            height: 66rem / @baseFont;
            width: 100%;
            border-radius: 33rem / @baseFont;
            border: 0;
            background-color: #fff2cc;
            margin-top: 12rem / @baseFont; 
            font-size: 25rem / @baseFont;
            padding-left: 25rem / @baseFont;   
            color: #757575;
        }
    }
    .login {
        width: 75rem / @baseFont;
        height: 70rem / @baseFont;
        line-height: 70rem / @baseFont;
        margin: 10rem / @baseFont;
        font-size: 25rem / @baseFont;
        text-align:  center;
        color: #fff;
    }
}
.banner {
    width: 750rem / @baseFont;
    height: 368rem / @baseFont;
    img {
        width: 100%;
        height: 100%;
    }
}
.ad {
    display: flex;
    a {
        flex: 1;
        img {
            width: 100%;
        }
    }
}
.nav {
    width: 750rem / @baseFont;
    a {
        float: left;
        width: 150rem / @baseFont;
        height: 140rem / @baseFont;
        text-align: center;
        img {
            display: block;
            width: 82rem / @baseFont;
            height: 82rem / @baseFont;
            margin: 10rem / @baseFont auto 0;
        }
        span {
            font-size: 25rem / @baseFont;   
            color: #333;
        }
    }
}
.kong {
    height: 120rem / @baseFont;
}
.guanggao {
    width: 100%;
    margin-top: 20rem / @baseFont;
    height: 232.2rem / @baseFont;
    overflow: hidden;
    display: flex;
    a {
        &:nth-child(1){
            width: 373.5rem / @baseFont;   
        }
        &:nth-child(2){
            width: 186.25rem / @baseFont;   
        }
        &:nth-child(3){
            width: 186.25rem / @baseFont;   
        }
        img {
            width: 100%;
        }
    }
}
footer {
    display: flex;
    position: fixed;
    width: 750rem / @baseFont;
    height: 120rem / @baseFont;
    bottom: 0;
    background: #FFF;
    // background-color: pink;

    a {
        flex: 1;
        float: left;
        text-align: center;
        img {
            display: block;
            width: 48rem / @baseFont;
            height: 48rem / @baseFont;
            margin: 12rem / @baseFont auto 0;
        }
        span {
            display: block;
            margin-top: 4rem / @baseFont;
            font-size: 20rem / @baseFont;
            color: #666666;
        }
    }
}